package com.open.basic.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 * @author: system
 * @Date: 2024/9/19 下午3:38
 * @Version: V1.0
 * @description: ->
 */

@Component
@ConfigurationProperties(prefix = "codex.service")
public class ServiceConfig {

    /**
     * 服务id
     */
    private String id;

    /**
     * 服务名称
     */
    private String serviceName;

    public String getId() {
        return id;
    }

    public ServiceConfig setId(final String id) {
        this.id = id;
        return this;
    }

    public String getServiceName() {
        return serviceName;
    }

    public ServiceConfig setServiceName(final String serviceName) {
        this.serviceName = serviceName;
        return this;
    }
}
